package com.demo.fulllink.service.impl;

import com.demo.fulllink.mapper.NotifyMapper;
import com.demo.fulllink.module.po.NotifyPO;
import com.demo.fulllink.module.vo.ResponseVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/storage/notify")
public class StorageNotifyAPIController {
    
    @Autowired
    private NotifyMapper notifyMapper;
    
    @RequestMapping("/insert")
    public ResponseVO insert(@RequestBody NotifyPO notifyPO) {
        notifyMapper.insert(notifyPO);
        return ResponseVO.success(null);
    }
    
}
